package com.shop.product.server.dao;

import com.shop.product.server.entity.ProductInfo;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProductInfoDao extends JpaRepository<ProductInfo, String> {

    List<ProductInfo> findByCategoryType(Integer categoryType);
}
